package puzzle.ftest.solver.giant;

import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;

import org.junit.Test;

import puzzle.common.solver.SolverAbortingException;
import puzzle.ftest.solver.base.SolverTestBase;
import puzzle.hashikake.data.HashikakeBoard;
import puzzle.hashikake.view.swing.HashikakeSolverAppMetadata;

public class HashikakeSolverTestWithGiant extends SolverTestBase<HashikakeBoard>{

	public HashikakeSolverTestWithGiant() {
		super(new HashikakeSolverAppMetadata());
	}

	private void solve(String name) throws SolverAbortingException, IOException {
		Reader r = new FileReader("resource/problem/hashikake/" + name);
		HashikakeBoard b = m_metadata.createLoader().load(r);
		solve(name, b);
	}
	
	@Test
	public void test105() throws IOException, SolverAbortingException {
		solve("hashikake-giant-22-2.txt");
	}

}
